package com.ydgk.dao;

import com.ydgk.bean.District;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DistrictMapper {
    @Select("select * from district where c_cid = #{cid}")
    List<District> findByCid(int cid);

    @Select("select * from district where did = #{did}")
    District findById(int did);
}
